package bb.lanxing.device.sgdevcie.xpair.uimodel;

import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;

public final class XPairUIModel {
    private int deviceIcon;
    private String deviceName;
    private XPairIntroUIModel xPairIntroUIModel;
    private XPairPairUIModel xPairPairUIModel;
    private XPairSearchUIModel xPairSearchUIModel;

    public static  XPairUIModel copy$default(XPairUIModel xPairUIModel, String str, int i, XPairIntroUIModel xPairIntroUIModel, XPairSearchUIModel xPairSearchUIModel, XPairPairUIModel xPairPairUIModel, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = xPairUIModel.deviceName;
        }
        if ((i2 & 2) != 0) {
            i = xPairUIModel.deviceIcon;
        }
        int i3 = i;
        if ((i2 & 4) != 0) {
            xPairIntroUIModel = xPairUIModel.xPairIntroUIModel;
        }
        XPairIntroUIModel xPairIntroUIModel2 = xPairIntroUIModel;
        if ((i2 & 8) != 0) {
            xPairSearchUIModel = xPairUIModel.xPairSearchUIModel;
        }
        XPairSearchUIModel xPairSearchUIModel2 = xPairSearchUIModel;
        if ((i2 & 16) != 0) {
            xPairPairUIModel = xPairUIModel.xPairPairUIModel;
        }
        return xPairUIModel.copy(str, i3, xPairIntroUIModel2, xPairSearchUIModel2, xPairPairUIModel);
    }

    public final String component1() {
        return this.deviceName;
    }

    public final int component2() {
        return this.deviceIcon;
    }

    public final XPairIntroUIModel component3() {
        return this.xPairIntroUIModel;
    }

    public final XPairSearchUIModel component4() {
        return this.xPairSearchUIModel;
    }

    public final XPairPairUIModel component5() {
        return this.xPairPairUIModel;
    }

    public final XPairUIModel copy(String deviceName, int i, XPairIntroUIModel xPairIntroUIModel, XPairSearchUIModel xPairSearchUIModel, XPairPairUIModel xPairPairUIModel) {
        Intrinsics.checkNotNullParameter(deviceName, "deviceName");
        Intrinsics.checkNotNullParameter(xPairIntroUIModel, "xPairIntroUIModel");
        Intrinsics.checkNotNullParameter(xPairSearchUIModel, "xPairSearchUIModel");
        Intrinsics.checkNotNullParameter(xPairPairUIModel, "xPairPairUIModel");
        return new XPairUIModel(deviceName, i, xPairIntroUIModel, xPairSearchUIModel, xPairPairUIModel);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof XPairUIModel) {
            XPairUIModel xPairUIModel = (XPairUIModel) obj;
            return Intrinsics.areEqual(this.deviceName, xPairUIModel.deviceName) && this.deviceIcon == xPairUIModel.deviceIcon && Intrinsics.areEqual(this.xPairIntroUIModel, xPairUIModel.xPairIntroUIModel) && Intrinsics.areEqual(this.xPairSearchUIModel, xPairUIModel.xPairSearchUIModel) && Intrinsics.areEqual(this.xPairPairUIModel, xPairUIModel.xPairPairUIModel);
        }
        return false;
    }

    public int hashCode() {
        return (((((((this.deviceName.hashCode() * 31) + this.deviceIcon) * 31) + this.xPairIntroUIModel.hashCode()) * 31) + this.xPairSearchUIModel.hashCode()) * 31) + this.xPairPairUIModel.hashCode();
    }

    public String toString() {
        return "XPairUIModel(deviceName=" + this.deviceName + ", deviceIcon=" + this.deviceIcon + ", xPairIntroUIModel=" + this.xPairIntroUIModel + ", xPairSearchUIModel=" + this.xPairSearchUIModel + ", xPairPairUIModel=" + this.xPairPairUIModel + ')';
    }

    public XPairUIModel(String deviceName, int i, XPairIntroUIModel xPairIntroUIModel, XPairSearchUIModel xPairSearchUIModel, XPairPairUIModel xPairPairUIModel) {
        Intrinsics.checkNotNullParameter(deviceName, "deviceName");
        Intrinsics.checkNotNullParameter(xPairIntroUIModel, "xPairIntroUIModel");
        Intrinsics.checkNotNullParameter(xPairSearchUIModel, "xPairSearchUIModel");
        Intrinsics.checkNotNullParameter(xPairPairUIModel, "xPairPairUIModel");
        this.deviceName = deviceName;
        this.deviceIcon = i;
        this.xPairIntroUIModel = xPairIntroUIModel;
        this.xPairSearchUIModel = xPairSearchUIModel;
        this.xPairPairUIModel = xPairPairUIModel;
    }

    public  XPairUIModel(String str, int i, XPairIntroUIModel xPairIntroUIModel, XPairSearchUIModel xPairSearchUIModel, XPairPairUIModel xPairPairUIModel, int i2, DefaultConstructorMarker defaultConstructorMarker) {
        this(str, (i2 & 2) != 0 ? 0 : i, xPairIntroUIModel, xPairSearchUIModel, xPairPairUIModel);
    }

    public final String getDeviceName() {
        return this.deviceName;
    }

    public final void setDeviceName(String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.deviceName = str;
    }

    public final int getDeviceIcon() {
        return this.deviceIcon;
    }

    public final void setDeviceIcon(int i) {
        this.deviceIcon = i;
    }

    public final XPairIntroUIModel getXPairIntroUIModel() {
        return this.xPairIntroUIModel;
    }

    public final void setXPairIntroUIModel(XPairIntroUIModel xPairIntroUIModel) {
        Intrinsics.checkNotNullParameter(xPairIntroUIModel, "<set-?>");
        this.xPairIntroUIModel = xPairIntroUIModel;
    }

    public final XPairSearchUIModel getXPairSearchUIModel() {
        return this.xPairSearchUIModel;
    }

    public final void setXPairSearchUIModel(XPairSearchUIModel xPairSearchUIModel) {
        Intrinsics.checkNotNullParameter(xPairSearchUIModel, "<set-?>");
        this.xPairSearchUIModel = xPairSearchUIModel;
    }

    public final XPairPairUIModel getXPairPairUIModel() {
        return this.xPairPairUIModel;
    }

    public final void setXPairPairUIModel(XPairPairUIModel xPairPairUIModel) {
        Intrinsics.checkNotNullParameter(xPairPairUIModel, "<set-?>");
        this.xPairPairUIModel = xPairPairUIModel;
    }
}
